import request from '@/utils/request'

// 查询持续改善列表
export function listContinuousImprovement(query) {
  return request({
    url: '/quality/continuousImprovement/list',
    method: 'get',
    params: query
  })
}

// 查询持续改善详细
export function getContinuousImprovement(id) {
  return request({
    url: '/quality/continuousImprovement/' + id,
    method: 'get'
  })
}

// 新增持续改善
export function addContinuousImprovement(data) {
  return request({
    url: '/quality/continuousImprovement',
    method: 'post',
    data: data
  })
}

// 修改持续改善
export function updateContinuousImprovement(data) {
  return request({
    url: '/quality/continuousImprovement',
    method: 'put',
    data: data
  })
}

// 删除持续改善
export function delContinuousImprovement(id) {
  return request({
    url: '/quality/continuousImprovement/' + id,
    method: 'delete'
  })
}
